  
 .goods-card {
    margin: 0;
    background-color: white;
  }

  .delete-button {
    height: 100%;
  }
  .headedit {
    height: 80px;
    display: flex;
    line-height: 80px;
    justify-content: space-between;

    .ord {
        width: 200px;
        text-align: center;
        font-size: 35px;
        margin-left: calc(5% - 100px);
    }

    .ordleft {
        width: 200px;
        text-align: center;
        margin-top: 10px;
    }

    .edit {
        width: 80px;
        text-align: center;
        font-size: 30px;
        margin-right: 50px;
    }
}

.cartitem {
    display: flex;
    height: 150px;
    margin-top: 20px;

    .itemctd {
        padding: 20px;
    }

    .itemimg {
        height: 150px;
        width: 170px;

        img {
            width: 100%;
            height: 100%;
        }
    }

    .iteminfo {
        flex: 1;
        margin-left: 20px;

        .ctp {
            display: flex;
            margin-top: 50px;
            justify-content: space-between;

            .price {
                width: 50px;
                height: 50px;
                font-size: 20px;
                color: orangered;
                font-weight: 500;

                span {
                    font-size: 30px;
                }
            }

            .count {
                display: flex;
                margin-right: 20px;

                .sub,
                .add,
                .num {
                    height: 45px;
                    width: 45px;
                    text-align: center;
                    line-height: 45px;
                    border: 1px solid #ccc;
                }

                .sub {
                    border-top-left-radius: 50%;
                    border-bottom-left-radius: 50%;
                    border-right: none;
                }

                .add {
                    border-top-right-radius: 50%;
                    border-bottom-right-radius: 50%;
                    border-left: none;
                }
            }
        }
    }
}

.dleck {
    margin-right: 350px;
}

/* const delee = (index: number) => {
    // 删除购物车中的该项
    shuju.value.splice(index, 1);
    // 更新本地存储
    localStorage.setItem('cartlist', JSON.stringify(shuju.value));
}; */